GtkPopover: Fix rtl positioning
authorMatthias Clasen <mclasen@redhat.com>
Thu, 21 Aug 2014 15:57:19 +0000 (11:57 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 21 Aug 2014 15:59:44 +0000 (11:59 -0400)
commit7645d201d408964f8ade769e59517e6a98a02364
tree7715798eb5751ab906df654b1e75b3a4c6140670
parent09286cf96876a61f42dcef98385aeb277b2db7d2
GtkPopover: Fix rtl positioning

There was some confusion between unflipped and flipped positions.
Both final_position and current_position are meant to be unflipped,
and get_effective_position() needs to be applied to them to get
a flipped position. _gtk_window_set_popover_position() also expects
an unflipped position.

https://bugzilla.gnome.org/show_bug.cgi?id=735014
gtk/gtkpopover.c